﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MINERP.MODEL.FoundationModel;

namespace MINERP.BLL.Statistics
{

    public class BillView
    {
        /// <summary>
        /// 商户账单
        /// </summary>
        public SHOP_Bill_Info ShopBill { get; set; }
        public Shop_Info ShopInfo { get; set; }
        ///// <summary>
        ///// 商户账单产品
        ///// </summary>
        //public Bill_Detail_Info Bill_Detail;
        ///// <summary>
        ///// 商户账单详细
        ///// </summary>
        //public Bill_Detail_Detail_Info Bill_Detail_Detail;
        public string ShopName
        {
            get
            { return ShopInfo.ShopName; }

        }
        public int ShopId
        {
            get
            {
                return ShopInfo.ShopId;
            }

        }


        public DateTime CreateTime
        {
            get
            {
                return ShopBill.CreateTime;
            }
        }
        public int BillId
        {
            get { return ShopBill.BillId; }
        }
        public int BillOrderCode
        {
            get { return ShopBill.BillOrderCode; }
        }
        //public List<BillDetailView> ListBillDetailView
        //{
        //    set;
        //    get;
        //}
        public double BillMoneyCount
        {
            get;
            set;
        }
        public int status
        {
            get { return ShopBill.Status; }
            set { ShopBill.Status = value; }
        }
    }
    public class BillDetailView
    {
        //public SHOP_Bill_Info ShopBill { get; set; }
        public Bill_Detail_Info BillDetail { get; set; }
        public OrderInfo_Info Product { get; set; }
        public Tb_Product_Info Pro_Type { get; set; }

        public int BillDetailId
        {
            get
            {
                return
                    BillDetail.BillDetailId;
            }
        }

        //public int BillId
        //{
        //    get { return ShopBill.BillId; }
        //}

        public string OrderProductName
        {
            get { return BillDetail.OrderProductName; }
        }

        //public string ProductName
        //{
        //    get { return Pro_Type.ProductName; }
        //}
        public string CtmName
        {
            get { return BillDetail.CtmName; }
        }
        public string OrderInfoCode
        {
            get { return BillDetail.OrderInfoCode; }
        }
        public string Remark
        {
            get { return BillDetail.Remark; }
        }
        //public double Width
        //{
        //    get { return Product.Width; }
        //}
        //public double Height
        //{
        //    get { return Product.Height; }
        //}
        //public int ProductNum
        //{
        //    get {
        //        return Product.ProductNum;
        //    }
        //}
        //public int PageNum
        //{
        //    get {
        //        return Product.PageNum;
        //    }
        //}
        public bool IsSelect { get; set; }

    }
    public class PerformanceView
    {
        public string Departments { get; set; }
        public string UserName { get; set; }
        public string Tech { set; get; }
        public int OrderNum { set; get; }
        public int PhotoNum { set; get; }
        public int FileNum { set; get; }
        public double Areas { set; get; }
        public double PaiBanWaste { set; get; }
        public DateTime CompletedDate { get; set; }
        public double OutReturnAreas { get; set; }
        public int SinglePageNum { get; set; }
        public int MpageNum { get; set; }
    }
}
